<%@ Import Namespace="HPortal.Lib" %>
<html>
<head>
<script language=C# runat=server>
	override protected void OnInit(EventArgs e)
	{
        int ImageID = HtmlHelper.GetIdFromRequestString("ArticleID", -1);
        if (ImageID != -1)
            ImageHelper.cgImage.ViewImage("TypeImage", "HeadImage", "Article", "ArticleID=" + ImageID);
        else
        {
            ImageID = HtmlHelper.GetIdFromRequestString("ProductID", -1);
            if (ImageID != -1)
                ImageHelper.cgImage.ViewImage("Type", "Content", "pdProduct", "ProductID=" + ImageID);
            else
            {
                ImageID = HtmlHelper.GetIdFromRequestString("ListLinkID", -1);
                if (ImageID != -1)
                    ImageHelper.cgImage.ViewImage("Type", "Content", "ListLink", "ListLinkID=" + ImageID);
            }
        }
	}
</script>
</head>
<body></body> 
</html>